export const tools = [
  {
    type: 'drag',
    icon: 'drag',
    name: '拖拽',
    colorIcon: '#2a2929'
  },
  {
    type: 'connScene',
    icon: 'fork',
    name: '场景线',
    colorIcon: '#2a2929'
  },
  {
    type: 'connSuccess',
    icon: 'fork',
    name: '成功线',
    colorIcon: '#9400D3'
  },
  {
    type: 'connFail',
    icon: 'fork',
    name: '失败线',
    colorIcon: '#B80000'
  },
  {
    type: 'connOvertime',
    icon: 'fork',
    name: '超时线',
    colorIcon: '#47d1ff'
  },
  {
    type: 'zoom-in',
    icon: 'zoom-in',
    name: '放大',
    colorIcon: '#2a2929'
  },
  {
    type: 'zoom-out',
    icon: 'zoom-out',
    name: '缩小',
    colorIcon: '#2a2929'
  }
]
// 资金流转监控
export const tools1 = [
  {
    type: 'drag',
    icon: 'drag',
    name: '拖拽',
    colorIcon: '#2a2929'
  },
  {
    type: 'connScene',
    icon: 'fork',
    name: '连接线',
    colorIcon: '#2a2929'
  },
  {
    type: 'zoom-in',
    icon: 'zoom-in',
    name: '放大',
    colorIcon: '#2a2929'
  },
  {
    type: 'zoom-out',
    icon: 'zoom-out',
    name: '缩小',
    colorIcon: '#2a2929'
  }
]

export const commonNodes = [
  {
    type: 'start',
    nodeName: '开始',
    icon: 'start'
  },
  {
    type: 'end',
    nodeName: '结束',
    icon: 'stop'
  },
  {
    type: 'common',
    nodeName: '人工节点',
    icon: 'user'
  },
  {
    type: 'freedom',
    nodeName: '自动节点',
    icon: 'sync'
  },
  {
    type: 'gateway',
    nodeName: '网关',
    icon: 'gateway'
  },
  {
    type: 'event',
    nodeName: '事件节点',
    icon: 'select'
  }
]

export const highNodes = [
  {
    type: 'child-flow',
    nodeName: '子流程',
    icon: 'ChildFlowIcon'
  }
]

export const laneNodes = [
  {
    type: 'x-lane',
    nodeName: '横向泳道',
    icon: 'XLaneIcon'
  },
  {
    type: 'y-lane',
    nodeName: '纵向泳道',
    icon: 'YLaneIcon'
  }
]
